package person.zjh.kaoyansharehub.service;

import com.baomidou.mybatisplus.extension.service.IService;
import person.zjh.kaoyansharehub.dto.PageCommentDTO;
import person.zjh.kaoyansharehub.dto.SaveCommentDTO;
import person.zjh.kaoyansharehub.pojo.Comment;
import person.zjh.kaoyansharehub.result.PageResult;
import person.zjh.kaoyansharehub.result.Result;


import java.util.List;

/**
 * @description: TODO
 * @author 郑佳豪
 * @date 2025/2/20 14:13
 * @version 1.0
 */
public interface CommentService extends IService<Comment> {

    PageResult getComment(PageCommentDTO requestParam);

    Result saveComment(SaveCommentDTO requestParam);

    Result getCommentCountByUserId(Long requestParam);

    void deleteComment(String commentId);
}
